package vip.sweet.sys.modular.login.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author tianlianyin
 * @Date 2024/11/9
 */
@Data
@Schema(description = "登录参数")
public class LoginParams {
    @Schema(description = "登录用户名")
    @NotBlank(message = "登录用户名不能为空")
    private String username;
    @Schema(description = "登录密码")
    @NotBlank(message = "登录密码不能为空")
    private String password;
}
